Release 10.1A: OpenEdge Development:
Programming Interfaces
4GL for generating application events
Many 4GL statements and functions can generate database or internal events automatically, based active audit policies. In other words, OpenEdge defines events that certain 4GL statements and functions always generate when audit policies specify them to do so. These include statements, for example, that participate in database transactions and that control the assertion of user identities, among others.
The Progress 4GL also allows you to explicitly generate application events using the
AUDIT-CONTROLsystem handle. These include events that you define and OpenEdge-defined events that control audit event context. If database options are set to enforce it, the database connection ID for a database must have the Application Audit Event Inserter privilege in order to generate and record audit events using theAUDIT-CONTROLsystem handle. Table 3–2 lists theAUDIT-CONTROLhandle methods that you can use to explicitly generate events in your application:
The following sections describe how to code these methods.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |